import Vue from 'vue'
import App from './App.vue'
import store from './store'
import router from './router'

import Element from 'element-ui'
import '@/assets/theme/element-variables.scss'
import '@/assets/theme/index.scss'
import { i18n } from '@/i18n/index.js'
import { globalComponentSize } from '@/utils/componentSize.js'
import './plugin'

Vue.use(Element, {
  i18n: (key, value) => i18n.t(key, value),
  size: globalComponentSize
})
Vue.config.productionTip = false

new Vue({
  router,
  store,
  i18n,
  render: (h) => h(App)
}).$mount('#app')
